package com.onepower.core.modules.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.onepower.core.modules.repository.entity.MatchScoreRuleBaseRate;
import com.onepower.core.modules.repository.entity.MatchScoreRuleIntervalScore;
import com.onepower.core.modules.repository.mapper.MatchScoreRuleBaseRateMapper;
import com.onepower.core.modules.repository.mapper.MatchScoreRuleIntervalScoreMapper;
import com.onepower.core.modules.service.IMatchScoreRuleBaseRateService;
import com.onepower.core.modules.service.IMatchScoreRuleIntervalScoreService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IMatchScoreRuleIntervalScoreServiceImpl extends ServiceImpl<MatchScoreRuleIntervalScoreMapper, MatchScoreRuleIntervalScore>
        implements IMatchScoreRuleIntervalScoreService {


    @Override
    public MatchScoreRuleIntervalScore intervalScore(Integer ruleId) {
        MatchScoreRuleIntervalScore scoreRuleIntervalScore = baseMapper.selectScoreRuleIntervalScore(ruleId);
        return scoreRuleIntervalScore;
    }
}
